package com.icast.tools;

import android.app.Activity;
import android.os.Bundle;

import com.icast.ui.R;
import com.smit.utils.LogUtil;

/**
 * Created by smfang on 2015/11/24. 插入dongge时，启动这个应用，这里不启动，只是为了保存usb权限权限， 下次插入启动应用不需要重新申请权限。
 */
public class AttachedActivity extends Activity {
	private static final String TAG = AttachedActivity.class.getSimpleName();

	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setTheme(R.style.Transparent);
		LogUtil.trace(TAG, "CAM USB ATTACHED!");
		finish();
		return;
	}
}
